home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / CHIP 2005-06.iso / program / grafik / myriad.exe / Disk1 / data1.cab / App_Executables / autorecognize tests.txt < prev    next >
Encoding:
Text File  |  2005-05-12  |  6.0 KB  |  179 lines

  1. //  Auto-recognize file format tests.
  2. //
  3. //  The tests will be executed in the order they appear in this list.
  4. //  To make comments, or temporarily disable a test, put a "//" or 
  5. //  a "#" at the beginning of the line.  Blank lines are allowed and 
  6. //  have no effect.
  7. //
  8. //  test format:  
  9. //  [extension list],[begin offset],[end offset],[pattern],[codetest]
  10. //
  11. //  extension list:
  12. //    A list of extensions to associate with this test.  
  13. //    The extensions must be separated with the '|' character.
  14. //    If a loader is to be associated with this test, list the
  15. //    primary extension mentioned in the myrdrv.ini file first.
  16. //  
  17. //  begin offset:
  18. //    The first byte of the pattern will be searched for, starting at this offset.
  19. //    Special Case : -1  (See below)
  20. //
  21. //  end offset:
  22. //    The first byte of the pattern will be searched for, ending at this offset.
  23. //    If the begin offset and the end offset are the same, then the pattern must 
  24. //    start at that offset.
  25. //    Special Case : -1  (See below)
  26. //
  27. //  pattern:
  28. //    A string representing the pattern.  Must be enclosed in double quotes.
  29. //    To represent non-printable characters, a backslash character or the 
  30. //    double quote character, put down the hexadecimal representation of the 
  31. //    character in this format:  "\ff"   example:  "\ff\ff\7f\80\a0\80\80"
  32. //    If there is no pattern test, but there is a code test available, just set
  33. //    the begin and end offsets to 0 and insert an empty pattern.  example:
  34. //    foo,0,0,"",CT_foo
  35. //
  36. //  codetest:
  37. //    If the pattern test is not conclusive enough and there is a code test that 
  38. //    can be executed, describe it's enumerated name here.  If the pattern test
  39. //    is solid enough as it is, just put "none".  When a code test is listed, a 
  40. //    file must pass both the pattern test as well as the code test, to be accepted 
  41. //    as one of the specified file formats.
  42. //
  43. //  Special Case : 
  44. //    If the begin and end offset are both set to -1, then this test is NOT a 
  45. //    pattern search offset into the file.  Instead, it is an OLE compound
  46. //    document test.  The data contained in the "pattern" field represents 
  47. //    a series of uniquely named storage or stream elements.  Each name is 
  48. //    seperated by a space.  The test will compare the names of all the file's 
  49. //    root storage level elements against the suggested list.  If all items 
  50. //    specified in the test string are found, then the test is passed.
  51.  
  52.  
  53. i3f,0,0,"Informative Graphics Intermediate File",none
  54. mvs|m3r|mvp,0,0,"Informative Graphics View Set",none
  55. cal|cg4|dls|gp4|mil|,0,0,"srcdocid:",CT_iso
  56. dcx|pcx,0,0,"\b1\68\de\3a",none
  57. dif,0,0,"\ff\ff\7f\80\a0\80\80",none
  58. edc,0,0,"\49\49\2A\00\08\00\00\00\0B",none
  59. edc,0,0,"\f0\f1\7a\f1\7a\c2\7a\c1\c4\d4\f0\f0\f7",none
  60. rle,0,0,"\08\09\fe\02\09",none
  61. iso|cal|cg4|dls|gp4|iso|mil,3,3,"\81\01\31\a2\48\84\04\58",CT_iso
  62. mrk|sym,4,4,"ASCII MARKUP FILE FORMAT",none
  63.  
  64. dsn,-1,-1,"Cells Parts Views Symbols Graphics Packages ExportBlocks",none
  65. dft,-1,-1,"JDraftViewerInfo PSMroots PARASOLID JSitesList PSMspacemap",none
  66. //idw,-1,-1,"RSeStorage",CT_idw
  67. //iam,-1,-1,"RSeStorage",CT_iam
  68.  
  69. mrk|sym,0,0,"Informative Graphics Markup",none
  70. mrk|sym,0,0,"< ID 'Informative Graphics Markup",none
  71. xml,0,64,"?xml version=",CT_xml
  72. rtl,0,0,"EMBEDDED RTL RASTER",none
  73. bmp,0,0,"BM",none
  74. tif,0,0,"\4d\4d\00\2a\00",none
  75. dx,0,0,"ARF0\00\00\00",CT_dx
  76. edm,0,0,"\80\00\00\00",none
  77. ftk,0,0,"\00\48\4d\5f\00",CT_ftk
  78. g3|g4|rnl,0,0,"GTX",CT_gtx
  79. g3|g4|rnl,0,0,"NSC",CT_gtx
  80.  
  81. cgm,0,0,"BegMF ",CT_cgm
  82. cgm,0,0,"BEGMF ",CT_cgm
  83.  
  84. tif,0,0,"II*",none
  85. pcx|dcx,0,0,"\0a\05",none
  86. png,0,0,"\89\50\4E\47\0D\0A\1A\0A",none
  87. dwf,0,0,"(DWF V00.30){",none
  88. cit,0,0,"\08\09\fe\02\18",CT_cit
  89. cit,0,0,"\08\09\fe\04\18",CT_cit
  90. cit,0,0,"\08\09\fe\05\18",CT_cit
  91. cit,0,0,"\08\09\fe\09\18",CT_cit
  92. cit,0,0,"\08\09\fe\0A\18",CT_cit
  93. cit,0,0,"\08\09\fe\0B\18",CT_cit
  94. cit,0,0,"\08\09\fe\0D\18",CT_cit
  95.  
  96. cit,0,0,"\08\09\fe\0F\18",CT_cit
  97. cit,0,0,"\08\09\fe\14\18",CT_cit
  98. cit,0,0,"\08\90\fe\01\18",CT_cit
  99. cit,0,0,"\08\09\fe\01\41",CT_cit
  100. dgn,0,0,"\08\09\Fe\02\01\08",CT_dgn
  101. dgn,0,0,"\08\09\Fe\02\08\01",CT_dgn
  102. dgn,0,0,"\C8\09\Fe\02\01\08",CT_dgn
  103. dgn,0,0,"\08\09\Fe\02\00\00",CT_dgn
  104. cit,0,0,"",CT_cit
  105. prt,0,0,"\a5\0f\f0\5a\1e\02\00\00\30",none
  106.  
  107. ps,0,0,"%!PS",none
  108. ps,0,256,"%%Title:",none
  109. ps,0,256,"%%Creator:",none
  110. ps,0,256,"%%BoundingBox:",none
  111. mi|cmi,0,0,"#~1",none
  112. mi|cmi,0,0,"#~2",none
  113. cmi|mi,0,0,"\1f\9d\8c",none
  114. pcx|dcx,0,0,"\0a\00",none
  115. pcx|dcx,0,0,"\0a\02",none
  116. pcx|dcx,0,0,"\0a\03",none
  117.  
  118. dcx|pcx,0,0,"\0a\04",none
  119. jpg|jpeg,6,64,"JFIF",none
  120. jpg|jpeg,6,64,"Exif",none
  121. dwg|dxf,0,0,"AC100",none
  122. dwg|dxf,0,0,"AC101",none
  123. dxf|dwg,0,256,"$ACADVER",none
  124. dxf,0,0,"0\0d\0aSECTION",CT_dxf
  125. dxf,0,64,"SECTION",CT_dxf
  126. dxf,0,1024,"$EXTMAX",CT_dxf
  127. pdf,0,0,"%PDF-1.",none
  128. pdf,0,0,"%PDF-2.",none
  129. pdf,0,0,"%PDF-3.",none
  130.  
  131. pdf,128,128,"%PDF-1.",none
  132. pdf,128,128,"%PDF-2.",none
  133. pdf,128,128,"%PDF-3.",none
  134. 906|907,0,8,"\1f\1f\20\24\22\23",none
  135. 906|907,0,8,"\16\16\20\28\21\24\21",none
  136. 906|907,0,8,"\1f\1f\20\24\21\23",none
  137. dg,0,0,"S5000* BUILD",none
  138. dg,16,16,"S5000* BUILD",none
  139. dg,36,36,"S5000* BUILD",none
  140. dg,0,0,"S5000* BLD",none
  141.  
  142. dg,16,16,"S5000* BLD",none
  143. wp5,0,0,"\ff\57\50\43",none
  144. dg,36,36,"S5000* BLD",none
  145. dls,0,0,"IGC1\01\00\00\00",none
  146. dsf,0,0,"Informative Graphics Document Stack",none
  147. gif,0,0,"GIF87a ",none
  148. gif,0,0,"GIF89a ",none
  149. 906|907,0,8,"\20\21\20\20\21",none
  150. 906|907,0,8,"\26\26\26\26",none
  151. dxf,0,256,"$EXTMAX",CT_dxf
  152. wrl,0,0,"#VRML",CT_vrml
  153. isf,0,8,"Informative Graphics Stream File",CT_isf
  154.  
  155. xgl,0,0,"",CT_xgl
  156. granite,0,0,"",CT_granite
  157. sat,0,0,"",CT_acis
  158. stl,0,0,"",CT_stl
  159. 3df,0,0,"",CT_3df
  160. igs,0,0,"",CT_iges
  161. DOC,0,0,"",CT_inso
  162. ps,0,512,"/inch",none
  163. daf,0,256,"AcVObjArray",none
  164. plt|000,0,0,"\1B%-1B",CT_hpgl
  165. axp,0,0,"\00\08\00\00\00\00\00\00\00\00\00\00",CT_axp
  166. plt|000,0,0,"",CT_hpgl
  167. plt|000,0,75,"\3b\4e\50",CT_hpgl
  168.  
  169. dwf,0,0,"(DWF V",none
  170. mot,0,0,"",CT_mot
  171. cgm,0,512,"PICTURE 1",none
  172. cgm,0,256,"cgm",none
  173. cgm,0,256,"CGM",none
  174. cgm,0,0,"",CT_cgm
  175. txt,0,0,"",CT_text
  176. rlc,0,0,"",CT_rlc
  177.  
  178.  
  179.